<?php

namespace App\Http\Resources;

use App\Traits\BaseResourceCollection;
use Illuminate\Http\Resources\Json\ResourceCollection;

class UserCollection extends ResourceCollection {
	use BaseResourceCollection;

	public $_table = [
		// 'id' => '序号',
		'avatar' => '头像',
		'name' => '用户名',
		'email' => '邮箱',
		'comments_nums' => '评论数',
		'approves_nums' => '点赞数',
		'is_admin' => '管理员',
		'status' => '是否可用',
		'created_at' => '创建时间',
		'updated_at' => '最后登录时间',
	];
}
